import request from '@/utils/request'

// 查询门报警日志列表
export function listDoorAlarmLog(query) {
  return request({
    url: '/business/alarm/list',
    method: 'get',
    params: query
  })
}

// 查询门报警日志详细
export function getDoorAlarmLog(alarmId) {
  return request({
    url: '/business/alarm/' + alarmId,
    method: 'get'
  })
}

// 删除门报警日志
export function delDoorAlarmLog(alarmId) {
  return request({
    url: '/business/alarm/' + alarmId,
    method: 'delete'
  })
}

// 导出门报警日志
export function exportDoorAlarmLog(query) {
  return request({
    url: '/business/alarm/export',
    method: 'post',
    params: query
  })
}

